home *** CD-ROM | disk | FTP | other *** search
- <HTML>
-
- <HEAD>
-
- <TITLE>drop shadows with positioning</TITLE>
-
- </HEAD>
-
- <STYLE TYPE="text/css">
-
- .myClass{
-
- POSITION: absolute;
-
- COLOR: red;
-
- FONT-SIZE: 40pt;
-
- FONT-FAMILY: sans-serif;
-
- Z-INDEX:2;
-
- }
-
- .container{
-
- POSITION: absolute;
-
- TOP: 100px;
-
- LEFT: 100px;
-
- }
-
- #shadow{
-
- COLOR: #aaaaaa;
-
- TOP: -3px;
-
- LEFT: -3px;
-
- Z-INDEX:1;
-
- }
-
- </STYLE>
-
- <BODY BGCOLOR="#ffffff">
-
- Some standard text before the element
-
- <DIV CLASS="container">
-
- <SPAN CLASS="myClass">
-
- hello you
-
- </SPAN>
-
- <SPAN ID="shadow" CLASS="myClass">
-
- hello you
-
- </SPAN>
-
- </DIV>
-
- Some standard text after the element
-
- </BODY>
-
- </HTML>
-
-